package com.otaku.member.SysException;

import com.otaku.common.ResultUtils.ResultCode;

public class MyException extends RuntimeException {

    private String code;
    private String msg;
    private ResultCode resultCode;

    public MyException() {
    }

    public MyException(ResultCode code) {
        this.resultCode = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }

    public void setResultCode(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
